wayland: wl_data_device.enter provides a serial number, not a timestamp
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 24 Aug 2013 06:04:43 +0000 (23:04 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 24 Aug 2013 06:15:53 +0000 (23:15 -0700)
gdk/wayland/gdkdevice-wayland.c

index 6027e8d1b96fa5d5796123cf2c25d43316e47d77..cb465d90e7ac516dcfd3ed7d3d94624ac51bbd7c 100644 (file)
@@ -489,7 +489,7 @@ data_device_data_offer (void                  *data,
 static void
 data_device_enter (void                  *data,
                    struct wl_data_device *data_device,
-                   uint32_t               time,
+                   uint32_t               serial,
                    struct wl_surface     *surface,
                    int32_t                x,
                    int32_t                y,
@@ -497,8 +497,8 @@ data_device_enter (void                  *data,
 {
   GdkWaylandDeviceData *device = (GdkWaylandDeviceData *)data;
 
-  g_debug (G_STRLOC ": %s data_device = %p time = %d, surface = %p, x = %d y = %d, offer = %p",
-           G_STRFUNC, data_device, time, surface, x, y, offer);
+  g_debug (G_STRLOC ": %s data_device = %p serial = %u, surface = %p, x = %d y = %d, offer = %p",
+           G_STRFUNC, data_device, serial, surface, x, y, offer);
 
   /* Retrieve the DataOffer associated with with the wl_data_offer - this
    * association is made when the listener is attached.